package com.wx.service;


import com.wx.dto.CarQueryDTO;
import com.wx.dto.CollectionOrOrderDTO;
import com.wx.dto.ConditionGetCarDTO;
import com.wx.entity.Car;
import com.wx.entity.User;
import com.wx.vo.FavorVO;
import com.wx.vo.OrderQueryVO;

import java.util.List;

public interface CarService {
    List<Car> carList(CarQueryDTO carQueryDTO);

    void usercollection(CollectionOrOrderDTO collectionOrOrderDTO);

    void order(CollectionOrOrderDTO collectionOrOrderDTO);

    List<FavorVO> getcollection(CollectionOrOrderDTO collectionOrOrderDTO);

    void infavor(User user);

    List<OrderQueryVO> getOrder(User user);

    void delorder(User user);

    List<Car> getcarcondition(ConditionGetCarDTO conditionGetCarDTO);
}
